package org.person.demo.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.person.springcloud.models.CommonResult;

public class CustomerBlockHandler {

    public static CommonResult handlerException(BlockException e) {
        return new CommonResult(444, "用户自定义测试--1" + e.getMessage());
    }

    public static CommonResult handlerException2(BlockException e) {
        return new CommonResult(444, "用户自定义测试--2" + e.getMessage());
    }
}
